#include <stdio.h>
#include <stdlib.h>
#include "cfglst.h"
#include "re.h"


ptr_cfglst load_configs(const char *filename);
char **split_dest_path(const char *dest, char *separator, size_t *dest_depth);
void free_configs(ptr_cfglst cfglst);
ptr_cfglst get_matched_rule(ptr_cfglst config, const char *name);
